package Demo1;

public class Dog extends Animal{

    @Override
    void eat() {
        System.out.println("dog is eatting...");
    }

    @Override
    void sleep() {
        System.out.println("dog is sleeping...");
    }
}
